package cn.org.timespace.ons.vo.base;

import java.util.Date;

/**
 * Datacontents entity.
 * 
 * @author MyEclipse Persistence Tools
 */

public class DataContents implements java.io.Serializable {

	// Fields

	private String dcid; //话单ID
//	private String mid; //信息终端ID
//	private String asid;//应用平台ID
	
	private Machines machines;
	private AppleServer appleServer;
	private String contents;//发送内容
	private Date sentTime;//发送时间
	private String remark;

	// Constructors

	/** default constructor */
	public DataContents() {
	}

	/** minimal constructor */
	public DataContents(Machines machines, AppleServer appleServer, String contents, Date sentTime) {
//	public DataContents(String mid, String asid, String contents, Date sentTime) {
//		this.mid = mid;
//		this.asid = asid;
		this.machines = machines;
		this.appleServer = appleServer;
		this.contents = contents;
		this.sentTime = sentTime;
	}

	/** full constructor */
	public DataContents(Machines machines, AppleServer appleServer, String contents,
			Date sentTime, String remark) {
//	public DataContents(String mid, String asid, String contents,
//			Date sentTime, String remark) {
//		this.mid = mid;
//		this.asid = asid;
		this.machines = machines;
		this.appleServer = appleServer;
		this.contents = contents;
		this.sentTime = sentTime;
		this.remark = remark;
	}

	// Property accessors

	public String getDcid() {
		return this.dcid;
	}

	public void setDcid(String dcid) {
		this.dcid = dcid;
	}

//	public String getMid() {
//		return this.mid;
//	}
//
//	public void setMid(String mid) {
//		this.mid = mid;
//	}
//
//	public String getAsid() {
//		return this.asid;
//	}
//
//	public void setAsid(String asid) {
//		this.asid = asid;
//	}
	
	

	public String getContents() {
		return this.contents;
	}

	public Machines getMachines() {
		return machines;
	}

	public void setMachines(Machines machines) {
		this.machines = machines;
	}

	public AppleServer getAppleServer() {
		return appleServer;
	}

	public void setAppleServer(AppleServer appleServer) {
		this.appleServer = appleServer;
	}

	public void setContents(String contents) {
		this.contents = contents;
	}

	public Date getSentTime() {
		return this.sentTime;
	}

	public void setSentTime(Date sentTime) {
		this.sentTime = sentTime;
	}

	public String getRemark() {
		return this.remark;
	}

	public void setRemark(String remark) {
		this.remark = remark;
	}

}